package net.zoneland.knowledge.constant;

/**
 * .
 *
 * @author: bcc
 * 2021/5/21
 */
public final class SystemConstant {

    private SystemConstant() {

    }

    /**
     * 全省通用的题库.
     */
    public static final String COMMON_VIEW_FLAG = "99";


    /**
     * 题库状态有效.
     */
    public static final int VALID_STATUS = 1;

    /**
     * 题库状态暂停使用.
     */
    public static final int INVALID_STATUS = 0;

    /**
     * Es默认索引.
     */
    public static final String ES_DEFAULT_TYPE = "_doc";

    /**
     * 分隔符
     */
    public static final String SPLIT_STR = ",";

    /**
     * id连接符.
     */
    public static final String CONNECT_STR = "-";
    /**
     * 默认分页条数.
     */
    public static final int DEFAULT_PAGE_SIZE = 500;

    /**
     * 本地开发调试默认登录密码
     */
    public static final String USER_PASSWORD = "password";

    /**
     * 人力核心数据-人员缓存的key.
     */
    public static final String ES_USER_CACHE_KEY = "hruser";
    /**
     * 人员信息查询关键字缓存的key.
     */
    public static final String ES_USER_KEY_WORD_CACHE_KEY = ":epkey";
    /**
     * 人员信息查询关键字缓存的超时时间.
     */
    public static final long ES_USER_KEY_WORD_CACHE_EXPIRE_TIME_HOURS = 2L;
}
